<?php
namespace App\Services;
use  App\Http\Requests\GlobalValidation;
class BaseRequest extends GlobalValidation
{

    public function getRulesBysearchGoods()
    {
        return [
            'keyword' => 'required'
        ];
    }

    //这里可以写中文返回提示
    public function messages()
    {
        return [
            'keyword.required' => '不可为空'
        ];


    }
}